<ui:composition xmlns="http://www.w3.org/1999/xhtml"  xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" 
xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets">
	<div class="topMenu">
		<div class="centeredContent topMenuContent">
			<p:outputPanel layout="inline" rendered="#{not(userBean.user)}" styleClass="topMenuContentItem topMenuIcon topMenuIconLogIn topMenuLink">
				<a href="${request.contextPath}#{navigationBean.accessLogInPage}">${msg.header_menu_top_log_in}</a>
			</p:outputPanel>
			<p:outputPanel layout="inline" rendered="#{userBean.user}" styleClass="topMenuContentItem topMenuIcon topMenuIconLogOut topMenuLink">
				<a href="${request.contextPath}/j_spring_security_logout">${msg.header_menu_top_log_out}</a>
			</p:outputPanel>
			<p:outputPanel layout="inline"  rendered="#{userBean.administrator}"  styleClass="topMenuContentItem topMenuIcon topMenuIconAdmin topMenuLink">
				<span>${msg.header_menu_top_administration}</span>
			</p:outputPanel>
			<p:outputPanel id="userIdentity" layout="inline" rendered="#{userBean.user}" styleClass="topMenuContentItem topMenuIcon topMenuIconUser">
				<span>#{userBean.currentUser.firstName} #{userBean.currentUser.name}</span>
			</p:outputPanel>
			<p:outputPanel layout="inline" styleClass="topMenuContentItem topMenuIcon topMenuIconDate">
				<span>
					<h:outputText value="#{session.lastAccessedTime}">
						<f:convertDateTime dateStyle="long" locale="#{userBean.currentLocale}" />
					</h:outputText>
				</span>
			</p:outputPanel>
			<p:outputPanel layout="inline" styleClass="topMenuIcon topMenuIconContact topMenuLink">
				<span>${msg.header_menu_top_contact}</span>
			</p:outputPanel>
		</div>
	</div>
</ui:composition>